package com.nf.xiaomi.dao;


import com.nf.xiaomi.entity.AddressEntity;

import java.util.List;

public interface AddressDao {
    List<AddressEntity> getAll();

    List<AddressEntity> getAll(Integer userID);

    List<AddressEntity> getAllAddress(Integer address);

    int insert(AddressEntity addressEntity);

    int update(AddressEntity addressEntity);

    int delete(Integer addressId);

}
